package pers.qianyu.module.core.domain.image.dto;

import java.io.*;

/**
 * @author mizzle rain
 * @date 2021-02-11 13:16
 */
public class NoticeDTO implements Serializable {
    private static final long serialVersionUID = 3993720963756814037L;
    private Integer type;
    private String creatorName;
    private String creatorAvatar;
    private Long targetId;
    private String targetName;
    private Long ownerId;
    private String ownerName;
    private Long createdBy;
    private String content;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreatorAvatar() {
        return creatorAvatar;
    }

    public void setCreatorAvatar(String creatorAvatar) {
        this.creatorAvatar = creatorAvatar;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    @Override
    public String toString() {
        return "NoticeDTO{" +
                "type=" + type +
                ", creatorName='" + creatorName + '\'' +
                ", creatorAvatar='" + creatorAvatar + '\'' +
                ", targetId=" + targetId +
                ", targetName='" + targetName + '\'' +
                ", ownerId=" + ownerId +
                ", ownerName='" + ownerName + '\'' +
                ", createdBy=" + createdBy +
                ", content='" + content + '\'' +
                '}';
    }
}
